package com.macro.pojos.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName(value = "tb_goods_attribute_value")
@ApiModel(value = "存放商品参数信息的表")
public class UiGoodsAttributeValue {

    /**
     * 主键id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 商品货号
     */
    @ApiModelProperty(value = "商品货号")
    @TableField("goods_sn")
    private String goodsSn;

    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品属性id")
    @TableField("goods_attribute_id")
    private Long goodsAttributeId;

    /**
     * 手动添加规格或参数的值,有多个时以逗号隔开
     */
    @ApiModelProperty(value = "手动添加规格或参数的值,有多个时以逗号隔开")
    @TableField("value")
    private String value;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField("created_time")
    private java.util.Date createdTime;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @TableField("updated_time")
    private java.util.Date updatedTime;

    /**
     * 删除 1是 0否
     */
    @ApiModelProperty(value = "删除 1是 0否")
    @TableField("is_deleted")
    private Integer isDeleted;


}
